tools: cpupools: Support arbitrary numbers of physical cpus
authorJuergen Gross <juergen.gross@ts.fujitsu.com>
Thu, 21 Oct 2010 17:32:56 +0000 (18:32 +0100)
committerJuergen Gross <juergen.gross@ts.fujitsu.com>
Thu, 21 Oct 2010 17:32:56 +0000 (18:32 +0100)
commit63c5ef9841fad351e94f8c2e281c75aedb31ebad
treea469e97a0ab384e4214eda20ac858404d8fde008
parentcc0b2bf9de6871cb951fccd4c4e860f08c15e2ec
tools: cpupools: Support arbitrary numbers of physical cpus

To be able to support arbitrary numbers of physical cpus it was necessary to
include the size of cpumaps in the xc-interfaces for cpu pools.
These were:
  definition of xc_cpupoolinfo_t
  xc_cpupool_getinfo()
  xc_cpupool_freeinfo()
xc_cpupool_getinfo() and xc_cpupool_freeinfo() are changed to allocate the
needed buffer and return it.

Signed-off-by: juergen.gross@ts.fujitsu.com
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxc/xc_cpupool.c
tools/libxc/xc_misc.c
tools/libxc/xenctrl.h
tools/libxl/libxl.c
tools/libxl/libxl.h
tools/libxl/libxl_utils.c
tools/libxl/xl_cmdimpl.c
tools/python/xen/lowlevel/xc/xc.c